<#if html?exists> 
${value?html}
<#else>
${value}
</#if>